<template>
    <div id="app3">
        <!--        移动-热门专题-->
        <div class="yd-History">
            <el-row>
                <div style="margin-bottom: 30px">
                    <el-col :span="15" :xs="15">
                        <p style="color: #333333;font-weight: bold">热门搜索</p>
                    </el-col>
                    <el-col :span="6" :xs="6" :offset="3">
                        <button class="el-icon-refresh-left yd-huanyipi" @click="changeTab2">换一批</button>
                    </el-col>
                </div>
                <div v-if="shows2" class="yd-zhuanti">
                    <a>区块链</a>
                    <a>小程序</a>
                    <a>vue</a>
                    <a>毕业</a>
                    <a>PHP</a>
                    <a>故事</a>
                    <a>flutter</a>
                    <a>理财</a>
                    <a>没事</a>
                    <a>投稿</a>
                </div>
                <div class="yd-zhuanti" v-else>
                    <a>手账</a>
                    <a>书法</a>
                    <a>PPT</a>
                    <a>穿塔</a>
                    <a>打碗碗花</a>
                    <a>简书</a>
                    <a>姥姥的澎湖湾</a>
                    <a>设计</a>
                    <a>创业</a>
                    <a>交友</a>
                </div>
            </el-row>
        </div>
        <hr class="yd-fengexian"/>
        <!--        PC端-->
        <el-row>
            <el-col :lg="15" :md="24" :sm="24" :xs="24">
                <div class="contL">
                    <el-row :gutter="20">
                        <el-col :span="24" class="hidden-xs-only cont-banner"><img src="../assets/5.jpg"
                                                                                   alt=""></el-col>
                        <el-row :style="fenXian">
                            <el-col :span="17" :xs="16">
                                <div class="wenzi">
                                    <router-link to="/HomeW">
                                        <h1>使用tk.mybatis快速开发curd</h1>
                                    </router-link>
                                    <p>使用mybatis已经是可以快速开发程序了，对于单表的curd似乎是一种可抽象的结果，下面介绍tk.mybatis的使用方式</p>
                                    <div>
                                        <ul>
                                            <li><i :style="fontSize" class="layui-icon layui-icon-diamond">13.0</i></li>
                                            <li><i>千峰IT</i></li>
                                            <li><i class="layui-icon layui-icon-reply-fill">33</i></li>
                                            <li><i class="layui-icon layui-icon-star-fill">66</i></li>
                                        </ul>
                                    </div>
                                </div>
                            </el-col>
                            <el-col :span="6" :xs="7" :offset="1">
                                <div class="tupian">
                                    <img src="../assets/xyn3.png">
                                </div>
                            </el-col>
                        </el-row>
                        <el-row :style="fenXian">
                            <el-col :span="17" :xs="16">
                                <div class="wenzi">
                                    <router-link to="/HomeW">
                                        <h1>世界名人10大名句，秒杀一切段子手！</h1>
                                    </router-link>
                                    <p>马克吐温 马克·吐温(Mark Twain)，美国作家、演说家，是美国批判现实主义文学的奠基人，幽默和讽刺是他的写作特点。代表作品有小说《百万英...</p>
                                    <div>
                                        <ul>
                                            <li><i :style="fontSize" class="layui-icon layui-icon-diamond">13.0</i></li>
                                            <li><i>天意_464c</i></li>
                                            <li><i class="layui-icon layui-icon-reply-fill">17</i></li>
                                            <li><i class="layui-icon layui-icon-star-fill">62</i></li>
                                        </ul>
                                    </div>
                                </div>
                            </el-col>
                            <el-col :span="6" :xs="7" :offset="1">
                                <div class="tupian">
                                    <img src="../assets/contR/1.jpg">
                                </div>
                            </el-col>
                        </el-row>
                        <el-row :style="fenXian">
                            <el-col :span="17" :xs="16">
                                <div class="wenzi">
                                    <h1>过了年，我给男朋友转了5000块钱，分手了</h1>
                                    <p>我和他是熟人介绍认识的。刚开始其实没有感觉，不过他人还不错，就当个朋友联系着。 不知从什么时候起，联系的越来越频繁。他会经常对我嘘寒问暖，百依百...</p>
                                    <div>
                                        <ul>
                                            <li><i :style="fontSize" class="layui-icon layui-icon-diamond">13.0</i></li>
                                            <li><i>天意_464c</i></li>
                                            <li><i class="layui-icon layui-icon-reply-fill">17</i></li>
                                            <li><i class="layui-icon layui-icon-star-fill">62</i></li>
                                        </ul>
                                    </div>
                                </div>
                            </el-col>
                            <el-col :span="6" :xs="7" :offset="1">
                                <div class="tupian">
                                    <img src="../assets/contR/2.jpg">
                                </div>
                            </el-col>
                        </el-row>
                        <el-row :style="fenXian">
                            <el-col :span="17" :xs="16">
                                <div class="wenzi">
                                    <h1>仅用一支圆珠笔，教你手绘一棵枯树</h1>
                                    <p>今日主题 ·手绘枯树【使 用 工 具】 任意一支黑色笔，铅笔 纸张：普通素描纸即可 （枯树完成稿） >>>【第1步】：画前分析，这是一棵冬天...</p>
                                    <div>
                                        <ul>
                                            <li><i :style="fontSize" class="layui-icon layui-icon-diamond">13.0</i></li>
                                            <li><i>天意_464c</i></li>
                                            <li><i class="layui-icon layui-icon-reply-fill">17</i></li>
                                            <li><i class="layui-icon layui-icon-star-fill">62</i></li>
                                        </ul>
                                    </div>
                                </div>
                            </el-col>
                            <el-col :span="6" :xs="7" :offset="1">
                                <div class="tupian">
                                    <img src="../assets/contR/3.jpg">
                                </div>
                            </el-col>
                        </el-row>
                        <el-row :style="fenXian">
                            <el-col :span="17" :xs="16">
                                <div class="wenzi">
                                    <h1>与通用软件相比，快速开发平台好在哪儿？</h1>
                                    <p>Learun快速开发平台 v7.0是力软新一代以敏捷思想为指导所研发出来的基于web开发环境的.net平台系统，它包含有众多实用功能组件，可以快...</p>
                                    <div>
                                        <ul>
                                            <li><i :style="fontSize" class="layui-icon layui-icon-diamond">13.0</i></li>
                                            <li><i>天意_464c</i></li>
                                            <li><i class="layui-icon layui-icon-reply-fill">17</i></li>
                                            <li><i class="layui-icon layui-icon-star-fill">62</i></li>
                                        </ul>
                                    </div>
                                </div>
                            </el-col>
                            <el-col :span="6" :xs="7" :offset="1">
                                <div class="tupian">
                                    <img src="../assets/contR/4.jpg">
                                </div>
                            </el-col>
                        </el-row>
                        <el-row :style="fenXian">
                            <el-col :span="17" :xs="16">
                                <div class="wenzi">
                                    <h1>这12个写作套路，你一定用得上！</h1>
                                    <p>文字第：288篇 全文字数：1254字 2019年第：014篇原创 ▽ 1月12-13日，我去参加了贺嘉老师的演讲私房课，两天的课程下来，收获了...</p>
                                    <div>
                                        <ul>
                                            <li><i :style="fontSize" class="layui-icon layui-icon-diamond">13.0</i></li>
                                            <li><i>天意_464c</i></li>
                                            <li><i class="layui-icon layui-icon-reply-fill">17</i></li>
                                            <li><i class="layui-icon layui-icon-star-fill">62</i></li>
                                        </ul>
                                    </div>
                                </div>
                            </el-col>
                            <el-col :span="6" :xs="7" :offset="1">
                                <div class="tupian">
                                    <img src="../assets/contR/6.jpg">
                                </div>
                            </el-col>
                        </el-row>
                        <el-row :style="fenXian">
                            <el-col :span="17" :xs="16">
                                <div class="wenzi">
                                    <h1>锻炼编程能力的10个游戏：通关既巅峰！</h1>
                                    <p>一旦你知道自己要做什么，编程就很有趣，但达到这一点，可能是一次痛苦的经历。 这就是为什么在上课、听讲座、看教程之间，你应该留出时间玩一玩编程游戏...</p>
                                    <div>
                                        <ul>
                                            <li><i :style="fontSize" class="layui-icon layui-icon-diamond">13.0</i></li>
                                            <li><i>天意_464c</i></li>
                                            <li><i class="layui-icon layui-icon-reply-fill">17</i></li>
                                            <li><i class="layui-icon layui-icon-star-fill">62</i></li>
                                        </ul>
                                    </div>
                                </div>
                            </el-col>
                            <el-col :span="6" :xs="7" :offset="1">
                                <div class="tupian">
                                    <img src="../assets/contR/7.jpg">
                                </div>
                            </el-col>
                        </el-row>
                        <el-row :style="fenXian">
                            <el-col :span="17" :xs="16">
                                <div class="wenzi">
                                    <h1>初恋的影响到底有多大?</h1>
                                    <p>在你的短暂的人生里，你的初恋对你的影响有多大？记忆里关于爱情深刻的大部分多是六给了初恋。 当然我们所说的初恋肯定是不等于暗恋的，在一个人漫长的岁...</p>
                                    <div>
                                        <ul>
                                            <li><i :style="fontSize" class="layui-icon layui-icon-diamond">13.0</i></li>
                                            <li><i>天意_464c</i></li>
                                            <li><i class="layui-icon layui-icon-reply-fill">17</i></li>
                                            <li><i class="layui-icon layui-icon-star-fill">62</i></li>
                                        </ul>
                                    </div>
                                </div>
                            </el-col>
                            <el-col :span="6" :xs="7" :offset="1">
                                <div class="tupian">
                                    <img src="../assets/contR/8.jpg">
                                </div>
                            </el-col>
                        </el-row>
                        <el-row :style="fenXian">
                            <el-col :span="17" :xs="16">
                                <div class="wenzi">
                                    <h1>【笔记】一些简单的自我提升Tips</h1>
                                    <p>最近看了些自我提升相关的内容 挑几个不错的总结一下 大家有爱自取~ tips： 不要高估自己的专注力，将任务分解，每次只做一件事与其怀揣远大梦想...</p>
                                    <div>
                                        <ul>
                                            <li><i :style="fontSize" class="layui-icon layui-icon-diamond">13.0</i></li>
                                            <li><i>天意_464c</i></li>
                                            <li><i class="layui-icon layui-icon-reply-fill">17</i></li>
                                            <li><i class="layui-icon layui-icon-star-fill">62</i></li>
                                        </ul>
                                    </div>
                                </div>
                            </el-col>
                            <el-col :span="6" :xs="7" :offset="1">
                                <div class="tupian">
                                    <img src="../assets/contR/9.jpg">
                                </div>
                            </el-col>
                        </el-row>
                        <el-row :style="fenXian">
                            <el-col :span="17" :xs="16">
                                <div class="wenzi">
                                    <h1>21天镜子练习</h1>
                                    <p>全球销售超过50,000,000册的《创造生命的奇迹》作者露易丝．贺说： “做镜子练习，是你这辈子可以给自己的一个最棒的礼物。” 镜子练习，是一...</p>
                                    <div>
                                        <ul>
                                            <li><i :style="fontSize" class="layui-icon layui-icon-diamond">13.0</i></li>
                                            <li><i>天意_464c</i></li>
                                            <li><i class="layui-icon layui-icon-reply-fill">17</i></li>
                                            <li><i class="layui-icon layui-icon-star-fill">62</i></li>
                                        </ul>
                                    </div>
                                </div>
                            </el-col>
                            <el-col :span="6" :xs="7" :offset="1">
                                <div class="tupian">
                                    <img src="../assets/contR/10.jpg">
                                </div>
                            </el-col>
                        </el-row>
                        <el-row :style="fenXian">
                            <el-col :span="17" :xs="16">
                                <div class="wenzi">
                                    <h1>魏延墓前真的立着诸葛亮的忏悔像吗</h1>
                                    <p>魏延墓在正史野史中都没有记载，最早记载魏延墓信息的是清朝乾隆年间的《南郑县志》： 汉中府城北门外里许，有虎头桥，平地列数石，其下并无沟渠，殊不成...</p>
                                    <div>
                                        <ul>
                                            <li><i :style="fontSize" class="layui-icon layui-icon-diamond">13.0</i></li>
                                            <li><i>天意_464c</i></li>
                                            <li><i class="layui-icon layui-icon-reply-fill">17</i></li>
                                            <li><i class="layui-icon layui-icon-star-fill">62</i></li>
                                        </ul>
                                    </div>
                                </div>
                            </el-col>
                            <el-col :span="6" :xs="7" :offset="1">
                                <div class="tupian">
                                    <img src="../assets/contR/11.jpg">
                                </div>
                            </el-col>
                        </el-row>
                        <el-row :style="fenXian">
                            <el-col :span="17" :xs="16">
                                <div class="wenzi">
                                    <h1>“他真的很介意我是不是第一次”</h1>
                                    <p>还记得那个时候，欢乐颂大火的时候，那个话题 “应勤得知邱莹莹不是第一次后 大骂邱莹莹不洁身自爱” 一度登上了微博热搜， “男生是否真的很介意女生...</p>
                                    <div>
                                        <ul>
                                            <li><i :style="fontSize" class="layui-icon layui-icon-diamond">13.0</i></li>
                                            <li><i>天意_464c</i></li>
                                            <li><i class="layui-icon layui-icon-reply-fill">17</i></li>
                                            <li><i class="layui-icon layui-icon-star-fill">62</i></li>
                                        </ul>
                                    </div>
                                </div>
                            </el-col>
                            <el-col :span="6" :xs="7" :offset="1">
                                <div class="tupian">
                                    <img src="../assets/contR/12.jpg">
                                </div>
                            </el-col>
                        </el-row>
                        <el-row :style="fenXian">
                            <el-col :span="17" :xs="16">
                                <div class="wenzi">
                                    <h1>分享30道Redis面试题</h1>
                                    <p>1、什么是Redis？简述它的优缺点？ Redis本质上是一个Key-Value类型的内存数据库，很像memcached，整个数据库统统加载在内...</p>
                                    <div>
                                        <ul>
                                            <li><i :style="fontSize" class="layui-icon layui-icon-diamond">13.0</i></li>
                                            <li><i>天意_464c</i></li>
                                            <li><i class="layui-icon layui-icon-reply-fill">17</i></li>
                                            <li><i class="layui-icon layui-icon-star-fill">62</i></li>
                                        </ul>
                                    </div>
                                </div>
                            </el-col>
                            <el-col :span="6" :xs="7" :offset="1">
                                <div class="tupian">
                                    <img src="../assets/contR/13.jpg">
                                </div>
                            </el-col>
                        </el-row>
                        <el-row :style="fenXian">
                            <el-col :span="17" :xs="16">
                                <div class="wenzi">
                                    <h1>如果女生喜欢和你聊这3个话题，多半是对你有意思了</h1>
                                    <p>一天，被发小拉着咨询情感问题。 “哥，你以前谈恋爱的时候，和嫂子都会聊些什么啊？” “那聊得可以就多了，怎么了？” “这不是刚认识个女孩子嘛，有...</p>
                                    <div>
                                        <ul>
                                            <li><i :style="fontSize" class="layui-icon layui-icon-diamond">13.0</i></li>
                                            <li><i>天意_464c</i></li>
                                            <li><i class="layui-icon layui-icon-reply-fill">17</i></li>
                                            <li><i class="layui-icon layui-icon-star-fill">62</i></li>
                                        </ul>
                                    </div>
                                </div>
                            </el-col>
                            <el-col :span="6" :xs="7" :offset="1">
                                <div class="tupian">
                                    <img src="../assets/contR/14.jpg">
                                </div>
                            </el-col>
                        </el-row>
                        <el-row :style="fenXian">
                            <el-col :span="17" :xs="16">
                                <div class="wenzi">
                                    <h1>三个月的“戒色”经验分享（上）</h1>
                                    <p>记得刚上中学那会，染上了手淫的恶习，便一发不可收拾。这一晃十几年过去了，回想无数个日日夜夜一个人在默默地做着龌龊而又伤身的事，每天在欲望与悔恨中...</p>
                                    <div>
                                        <ul>
                                            <li><i :style="fontSize" class="layui-icon layui-icon-diamond">13.0</i></li>
                                            <li><i>天意_464c</i></li>
                                            <li><i class="layui-icon layui-icon-reply-fill">17</i></li>
                                            <li><i class="layui-icon layui-icon-star-fill">62</i></li>
                                        </ul>
                                    </div>
                                </div>
                            </el-col>
                            <el-col :span="6" :xs="7" :offset="1">
                                <div class="tupian">
                                    <img src="../assets/contR/15.jpg">
                                </div>
                            </el-col>
                        </el-row>
                        <el-row :style="fenXian">
                            <el-col :span="17" :xs="16">
                                <div class="wenzi">
                                    <h1>5 个面向新手的 Linux 发行版</h1>
                                    <p>5 个可使用新用户有如归家般感觉的发行版。 从最初的 Linux 到现在，Linux 已经发展了很长一段路。但是，无论你曾经多少次听说过现在使用...</p>
                                    <div>
                                        <ul>
                                            <li><i :style="fontSize" class="layui-icon layui-icon-diamond">13.0</i></li>
                                            <li><i>天意_464c</i></li>
                                            <li><i class="layui-icon layui-icon-reply-fill">17</i></li>
                                            <li><i class="layui-icon layui-icon-star-fill">62</i></li>
                                        </ul>
                                    </div>
                                </div>
                            </el-col>
                            <el-col :span="6" :xs="7" :offset="1">
                                <div class="tupian">
                                    <img src="../assets/contR/16.jpg">
                                </div>
                            </el-col>
                        </el-row>
                        <el-row :style="fenXian">
                            <el-col :span="17" :xs="16">
                                <div class="wenzi">
                                    <h1>家里这6个地方一定要装上柜子，省出20㎡的空间</h1>
                                    <p>“世界十大未解之谜”或许应该加上这一条：屋子为啥刚整理完，不到1小时就又乱了。 你永远觉得，自己明明没什么东西，怎么家里就堆满了？ 其实，只要你...</p>
                                    <div>
                                        <ul>
                                            <li><i :style="fontSize" class="layui-icon layui-icon-diamond">13.0</i></li>
                                            <li><i>天意_464c</i></li>
                                            <li><i class="layui-icon layui-icon-reply-fill">17</i></li>
                                            <li><i class="layui-icon layui-icon-star-fill">62</i></li>
                                        </ul>
                                    </div>
                                </div>
                            </el-col>
                            <el-col :span="6" :xs="7" :offset="1">
                                <div class="tupian">
                                    <img src="../assets/contR/17.jpg">
                                </div>
                            </el-col>
                        </el-row>
                        <el-row :style="fenXian">
                            <el-col :span="17" :xs="16">
                                <div class="wenzi">
                                    <h1>女人最容易爱上的，是这五种男人</h1>
                                    <p>总有男人在问，女人到底更容易爱上，什么样的男人。 他们总是希望，自己成为受女人欢迎的男人，这样就可以更容易地俘获女人的芳心，早日和心爱的女人，组...</p>
                                    <div>
                                        <ul>
                                            <li><i :style="fontSize" class="layui-icon layui-icon-diamond">13.0</i></li>
                                            <li><i>天意_464c</i></li>
                                            <li><i class="layui-icon layui-icon-reply-fill">17</i></li>
                                            <li><i class="layui-icon layui-icon-star-fill">62</i></li>
                                        </ul>
                                    </div>
                                </div>
                            </el-col>
                            <el-col :span="6" :xs="7" :offset="1">
                                <div class="tupian">
                                    <img src="../assets/contR/18.jpg">
                                </div>
                            </el-col>
                        </el-row>
                        <!--                        PC端展开更多-->
                        <el-row v-for="(items,index) in goods5" :key="index + 1" :style="fenXian"
                                class="pc-zhankai" v-show="index<goods5index">
                            <el-col :span="17" :xs="16">
                                <div class="wenzi">
                                    <h1>{{items.title}}</h1>
                                    <p>{{items.digest}}</p>
                                    <div>
                                        <ul>
                                            <li><i :style="fontSize" class="layui-icon layui-icon-diamond">15.7</i></li>
                                            <li><i>{{items.source}}</i></li>
                                            <li><i class="layui-icon layui-icon-reply-fill">{{items.tcount}}</i></li>
                                            <li><i class="layui-icon layui-icon-star-fill">81</i></li>
                                        </ul>
                                    </div>
                                </div>
                            </el-col>
                            <el-col :span="6" :xs="7" :offset="1" v-show="items.picInfo[0]">
                                <div class="tupian">
                                    <img :src="items.picInfo[0] && items.picInfo[0].url">
                                </div>
                            </el-col>
                        </el-row>
                        <!--                    PC端-展开更多按钮-->
                        <button style="cursor: pointer" class="yueduBtn" v-if="IsShow5" @click="Switchs5">阅读更多...
                        </button>
                        <button style="background-color: #e6e6e6;color: #969696;cursor: pointer" class="yueduBtn"
                                v-else>加载不动了 0-0"
                        </button>
                        <!--                    移动端-展开更多按钮-->
                        <button style="cursor: pointer" class="yueduBtn1" v-if="IsShow5" @click="Switchs5">展开更多文章 <i
                                class="el-icon-arrow-down"></i></button>
                        <button style="cursor: pointer" class="yueduBtn1" v-else @click="Switchs5">加载不动了 0-0"</button>
                    </el-row>
                </div>
            </el-col>
            <hr class="yd-fengexian"/>
            <el-col :span="7" :offset="2" class="hidden-md-and-down">
                <div class="contR">
                    <div>
                        <img src="../assets/1.png" alt="">
                        <img src="../assets/2.png" alt="">
                        <img src="../assets/3.png" alt="">
                        <img src="../assets/4.png" alt="">
                    </div>
                    <el-row :style="Dlw">
                        <el-col :span="8">
                            <img :style="download" src="../assets/images/download.png" alt="">
                        </el-col>
                        <el-col :span="16" :style="dlwApp">
                            <h3>下载简书手机App ></h3>
                            <p>随时随地发现和创作内容</p>
                        </el-col>
                    </el-row>
                    <el-row :style="qiehuan">
                        <el-col :span="16">
                            <p>推荐作者</p>
                        </el-col>
                        <el-col :span="8">
                            <i class="layui-icon layui-icon-refresh" style="cursor: pointer" @click="changeTab1">换一批</i>
                        </el-col>
                    </el-row>
                    <!--                    换一换-->
                    <div class="zuozheR" v-show="flag==1">
                        <el-row v-for="(items2,i) in list.slice(0,3)">
                            <el-col :span="5">
                                <router-link :to="{path:items2.path}">
                                    <img :style="[touxiang,xiaoshou]" :src="items2.IMG" alt="">
                                </router-link>
                            </el-col>
                            <el-col :span="14" :style="txTitle">
                                <router-link :to="{path:items2.path}">
                                    <h3 :style="xiaoshou">{{items2.title}}</h3>
                                    <p :style="xiaoshou">写了{{items2.number1}}k字 · {{items2.number2}}k喜欢</p>
                                </router-link>
                            </el-col>
                            <!--                            关注button-->
                            <el-col :span="5" :style="guanZhu" class="zuozheGZHBtn">
                                <p class="zuozheGZHBtn1" :style="xiaoshou" v-show="items2.tag" @click="changeCase(i)">+ 关注</p>
                                <div class="zuozheGZHBtns" v-show="!items2.tag">
                                    <p class="zuozheGZHBtn2" :style="xiaoshou">已关注</p>
                                    <p class="zuozheGZHBtn3" @click="changeCase(i)" :style="xiaoshou">取消关注</p>
                                </div>
                            </el-col>
                        </el-row>
                    </div>
                    <div class="zuozheR2" v-show="flag==2" v-for="(items2,i) in list.slice(3,8)">
                        <el-row>
                            <el-col :span="5"><img :style="[touxiang,xiaoshou]" :src="items2.IMG" alt=""></el-col>
                            <el-col :span="14" :style="txTitle">
                                <h3 :style="xiaoshou">{{items2.title}}</h3>
                                <p :style="xiaoshou">写了{{items2.number1}}k字 · {{items2.number2}}k喜欢</p>
                            </el-col>
                            <!--                            关注button-->
                            <el-col :span="5" :style="guanZhu" class="zuozheGZHBtn">
                                <p class="zuozheGZHBtn1" :style="xiaoshou" v-show="items2.tag" @click="changeCase(i)">+ 关注</p>
                                <div class="zuozheGZHBtns" v-show="!items2.tag">
                                    <p class="zuozheGZHBtn2" :style="xiaoshou">已关注</p>
                                    <p class="zuozheGZHBtn3" @click="changeCase(i)" :style="xiaoshou">取消关注</p>
                                </div>
                            </el-col>
                        </el-row>
                    </div>
                    <div class="zuozheR2" v-show="flag==3" v-for="(items2,i) in list.slice(8,12)">
                        <el-row>
                            <el-col :span="5"><img :style="[touxiang,xiaoshou]" :src="items2.IMG" alt=""></el-col>
                            <el-col :span="14" :style="txTitle">
                                <h3 :style="xiaoshou">{{items2.title}}</h3>
                                <p :style="xiaoshou">写了{{items2.number1}}k字 · {{items2.number2}}k喜欢</p>
                            </el-col>
                            <!--                            关注button-->
                            <el-col :span="5" :style="guanZhu" class="zuozheGZHBtn">
                                <p class="zuozheGZHBtn1" :style="xiaoshou" v-show="items2.tag" @click="changeCase(i)">+ 关注</p>
                                <div class="zuozheGZHBtns" v-show="!items2.tag">
                                    <p class="zuozheGZHBtn2" :style="xiaoshou">已关注</p>
                                    <p class="zuozheGZHBtn3" @click="changeCase(i)" :style="xiaoshou">取消关注</p>
                                </div>
                            </el-col>
                        </el-row>
                    </div>
                    <div>
                        <button :style="quanBtn">
                            <router-link style="color: #9c9c9c" to="/tuijianzuozhe">查看全部 ></router-link>
                        </button>
                    </div>
                </div>
            </el-col>
        </el-row>
        <!--        移动端-底部-->
        <div class="yd-xiazai">
            <img src="../assets/download-guide.1cef6fa3.png" alt="">
            <div></div>
            <router-link to="/downChuangzuo">
                <button>下载简书创作你的创作</button>
            </router-link>
        </div>

    </div>
</template>
<script>
    export default {
        name: "contentother",
        data() {
            return {
                shows2: true,
                IsShows6: true,
                IsShow5: true,
                banner1: {
                    width: '625px',
                    height: '270px',
                    borderRadius: '5px',
                    margin: '15px 0 30px 0'
                },
                tupian: {
                    width: '150px',
                    height: '100px',
                },
                fontSize: {
                    color: '#ff4f4c'
                },
                fenXian: {
                    marginLeft: '10px',
                    marginTop: '20px',
                    paddingBottom: '20px',
                    borderBottom: '1px solid #9b9b9b',
                },
                Dlw: {
                    textAlign: 'center',
                    height: '82px',
                    border: '1px solid #9c9c9c',
                    borderRadius: '10px'
                },
                download: {
                    width: '60px',
                    height: '60px'
                },
                dlwApp: {
                    padding: '15px 0 0 0'
                    // lineHeight:'60px'
                },
                qiehuan: {
                    margin: '20px 10px 0 20px',
                    fontSize: '14px',
                    color: '#969696'
                },
                touxiang: {
                    borderRadius: '24px',
                    width: '48px',
                    height: '48px',
                },
                txTitle: {
                    marginTop: '15px',
                    fontSize: '12px',
                    color: '#9b9b9b'
                },
                guanZhu: {
                    paddingLeft: '10px',
                    marginTop: '20px',
                    fontSize: '12px',
                    color: '#42c02e'
                },
                quanBtn: {
                    padding: '5px 0 5px 0',
                    fontSize: '12px',
                    width: '80%',
                    margin: '20px 0 0 10%',
                    border: '1px solid #dcdcdc',
                    borderRadius: '3px',
                    backgroundColor: '#f7f7f7'
                },
                xiaoshou:{
                    cursor: 'pointer'
                },
                goods: [1],
                goods5: [],
                // flag: 1,
                count: 1,
                flag: 1,
                list: [
                    {path:'zuozheC',IMG: require('../assets/tp1.png'), title: '老沈1', number1: '97.1', number2: '0.543'},
                    {path:'',IMG: require('../assets/1.png'), title: '茶点故事', number1: '432.7', number2: '11.4'},
                    {path:'',IMG: require('../assets/8.jpg'), title: '徐林Grace', number1: '670.5', number2: '6.1'},
                    {path:'',IMG: require('../assets/9.jpg'), title: '无限猴子', number1: '373.1', number2: '2'},
                    {path:'',IMG: require('../assets/erweima.png'), title: '念远怀人', number1: '644.6', number2: '12.8'},
                    {path:'',IMG: require('../assets/tp5.png'), title: '名贵的考拉', number1: '240.9', number2: '18.4'},
                    {path:'',IMG: require('../assets/2.png'), title: '道长是名思维贩子', number1: '194.5', number2: '52.4'},
                    {path:'',IMG: require('../assets/tp5.png'), title: '晖宗聊绘画', number1: '160.3', number2: '2.3'},
                    {path:'',IMG: require('../assets/tp5.png'), title: '宇文歡', number1: '283.2', number2: '2.5'},
                    {path:'',IMG: require('../assets/1.png'), title: '名贵的考拉', number1: '240.9', number2: '18.4'},
                    {path:'',IMG: require('../assets/11.jpg'), title: '名贵的考拉', number1: '240.9', number2: '18.4'},
                    {path:'',IMG: require('../assets/1.png'), title: '灰土豆', number1: '331.7', number2: '1.8'},
                    {path:'',IMG: require('../assets/10.jpg'), title: '名贵的考拉', number1: '240.9', number2: '18.4'},
                ]
            }
        },
        methods: {

            changeTab2() {
                if (this.shows2 == 'shows3') {
                    this.shows2 = ''
                } else {
                    this.shows2 = 'shows3'
                }
            },

            changeTab1(){
                this.count++;
                if (this.count > 3) {
                    this.count = 1;
                }
                this.flag = this.count;
            },

            Switch() {
                this.goods.push(1);
            },
            Switchs5() {
                if (this.flag === 4) {
                    this.IsShow5 = !this.IsShow5
                    return
                }
                this.flag += 1
                // console.log(this.flag)
            },

            kaishi() {
                // 调用API获取数组
                this.axios.get('/moock/news.json').then((response) => {
                    // console.log(response)
                    this.goods5 = response.data.data.toutiao;
                    // console.log(this.goods5)
                })
            },

            changeCase(i) {
                this.list[i].tag = !this.list[i].tag;
                // console.log(this.list[i].tag)
            }
        },
        mounted: function () {
            this.kaishi();
        },
        computed: {
            goods5index() {
                if (this.flag === 1) {
                    return 3
                } else if (this.flag === 2) {
                    return 6
                } else if (this.flag === 3) {
                    return 10
                } else if (this.flag === 4) {
                    return 15
                }
            }
        }
    }

</script>


<style scoped>
    #app3 {
        width: 65%;
        padding: 60px 0 0px 0;
        margin: 0 auto;
        /*border: 1px solid red;*/
    }

    .yd-fengexian {
        display: none;
    }

    .contL {
        margin-top: 50px;
        /*width: 55%;*/
        /*margin-right: 10%;*/
        /*border: 1px solid blue;*/
    }

    .cont-banner img {
        border-radius: 10px;
        width: 103%;
        height: auto;
        margin-bottom: 30px;
    }

    .contL .tupian img {
        width: 150px;
        height: 100px;
    }

    .contR {
        margin-top: 50px;
        /*width: 35%;*/
        /*border: 1px solid blue;*/
    }

    .contR img {
        margin: 10px 0 10px 0;
        width: 280px;
        height: 50px;
    }

    .wenzi h1 {
        font-size: 18px;
        color: #333333;
        font-weight: 700;
    }

    .wenzi p {
        font-size: 13px;
        color: #999999;
        margin: 10px 0 10px 0;
    }

    .wenzi li > i {
        color: #b4b4b4;
        margin: 0px 10px 10px 5px;
        float: left;
        font-size: 12px;
    }

    .yueduBtn {
        margin: 30px 0 30px 10px;
        width: 100%;
        height: 40px;
        color: #fff;
        border: 0;
        border-radius: 20px;
        background-color: #a5a5a5
    }

    /*移动端*/

    .yd-History {
        display: none;
    }

    .yueduBtn1 {
        display: none;
        margin: 15px 0 10px 10px;
        width: 90%;
        text-align: center;
        background-color: #fff;
        font-size: 15px;
        color: #969696;
        height: 40px;
        border: 0;
    }

    .yd-xiazai {
        display: none;
        top: 10px;
        width: 100%;
        height: 220px;
    }

    .yd-xiazai div {
        background-image: linear-gradient(0deg, hsla(0, 0%, 100%, 0), #fff);
        width: 100%;
        height: 35%;
        position: absolute;
        z-index: 1;
        margin-top: -64%;
        left: 50%;
        transform: translateX(-50%);
    }

    .yd-xiazai img {
        z-index: -1;
        width: 100%;
        height: 100%;
    }

    .yd-xiazai button {
        border: 1px solid #ea6f5a;
        border-radius: 2px;
        background-color: #ea6f5a;
        width: 65%;
        position: absolute;
        z-index: 1;
        color: #fff;
        margin-top: 25%;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 0 10px 0;
    }

    .yd-zhankai {
        display: none;
    }
    .zuozheGZHBtn p{
        text-align: center;
        width: 60px;
        border: 0px solid #42c02e;
        border-radius: 10px;
    }
    .zuozheGZHBtn1:hover{
        background-color: #42c02e;
        border: 1px solid #42c02e;
        color: #fff;
    }
    .zuozheGZHBtn3{
        display: none;
    }
    .zuozheGZHBtn3:hover{
        border: 1px solid #42c02e;
    }
    .zuozheGZHBtns:hover .zuozheGZHBtn3{
        display: block;
    }
    .zuozheGZHBtns:hover .zuozheGZHBtn2{
        display: none;
    }
    @media screen and (max-width: 750px) {
        #app3 {
            padding-top: 80px;
            width: auto;
            height: auto;
            padding-left: 20px;
            padding-right: 20px;
        }

        .yd-fengexian {
            display: block;
            width: 110%;
            position: relative;
            left: 50%;
            transform: translateX(-50%);
            height: 10px;
            z-index: 2;
            background-color: #eee;

        }

        .yd-History, .yd-huanyipi {
            display: block;
            font-size: 14px;
            border: 0;
            background-color: #fff;
        }

        .yd-huanyipi {
            color: #969696;
        }

        .yd-zhuanti a {
            color: #ea6f5a;
            font-size: 14px;
            margin: 0 20px 6px 0;
            float: left;
            border-radius: 3px;
            padding: 3px 10px 3px 10px;
            background-color: #fff;
            border: 1px solid #ea6f5a;
        }

        .contL {
            margin-top: 0;
        }

        .contL .tupian {
            margin-top: 40px;
        }

        .contL .tupian img {
            width: 80px;
            height: 80px;
        }

        .yueduBtn1 {
            display: block;
        }

        .yueduBtn {
            display: none;
        }

        .yd-xiazai {
            display: block;
        }

        .yd-zhankai {
            display: block;
        }
    }
</style>
